<?php
if (isset($_SESSION['login'])) {
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
        <link rel="stylesheet" type="text/css" href="admin_css.css" />

        <!--CSS pour IE-->
        <!--[if IE]>
        <link rel="stylesheet" type="text/css" href="admin_cssIE.css" />
        <![endif]-->

        
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
        <script type="text/javascript" src="../js/accordeon.js"></script>
        <script type="text/javascript" src="../js/ajax/Ajax.js"></script>
        <script type="text/javascript" src="../js/validationMot.js"></script>

        <!-- jNotify CSS -->
        <link rel="stylesheet" href="../js/jquery/jnotify/jNotify.jquery.css" type="text/css" />

        <!-- jNotify and jQuery files -->
        <script type="text/javascript" src="../js/jquery/jnotify/jquery.js"></script>
        <script type="text/javascript" src="../js/jquery/jnotify/jNotify.jquery.js"></script>

        <!-- Suggestions-->
        <script type="text/javascript" src="../js/ajax/Ajax.js"></script>
        <script type="text/javascript" src="../js/verif_form_suggestion.js"></script>
        <script type="text/javascript" src="../js/traduction_FR_EN.js"></script>

        <!--jQuery boite de dialogue-->
        <link rel="stylesheet" href="jQueryUI/jquery.ui.all.css"/>
        <script type="text/javascript" src="jQueryUI/jquery-1.6.2.js"></script>
        <script type="text/javascript" src="jQueryUI/jquery.bgiframe-2.1.2.js"></script>
        <script type="text/javascript" src="jQueryUI/jquery.ui.core.js"></script>
        <script type="text/javascript" src="jQueryUI/jquery.ui.widget.js"></script>
        <script type="text/javascript" src="jQueryUI/jquery.ui.mouse.js"></script>
        <script type="text/javascript" src="jQueryUI/jquery.ui.button.js"></script>
        <script type="text/javascript" src="jQueryUI/jquery.ui.draggable.js"></script>
        <script type="text/javascript" src="jQueryUI/jquery.ui.position.js"></script>
        <script type="text/javascript" src="jQueryUI/jquery.ui.dialog.js"></script>
        <script type="text/javascript" src="jQueryUI/jquery.effects.core.js"></script>


        <title><?php echo $titre ?></title>
    </head>
    <body>

        <!--permet à l'admin de se deconnecter -->
        <div id="header">
            Bienvenue sur le panneau d'administration <br/>Vous &ecirc;tes connect&eacute; sous la session  <?php echo $_SESSION['login']; ?>

            <form action="deconnexion.php" method="post">
                <p><input type="submit" value="Se Deconnecter "/></p>
            </form>
        </div>
<?php
} else {
    header('Location: erreur.php');
}
?>
